package com.demo.arthas.api.controller;

import com.demo.arthas.domain.DemoInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: huangjiazhen
 * @create: 2023/11/6 15:06
 * @description:
 **/
@RestController
@RequestMapping("/demo")
@Slf4j
public class DemoController {

    @GetMapping()
    public void demo() {
        log.info("===demo controller===");
        new DemoInfo("one", 10);
        new DemoInfo("two", 15);
    }
}
